package cn.lookup.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Data
@Table(name="user")
public class User {
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer id;
    @Column(name = "name")
    private String name;
    private Integer age;
    private String gender;
    private String address;
    private Double math;
    private Double english;
    private Double money;
    private Date insert_time;
    private String password;
}
